import Vue from 'vue'
import Vuex from 'vuex'
import * as actions from './actions'
import * as getters from './getters' 
import getUser from './modules/GetUser'  
import Domain from './modules/domain'
import Customer from './modules/customer' 
import SwitchManage from './modules/switchManage' 
import Header from './modules/Header'

Vue.use(Vuex);

const debug = process.env.NODE_ENV !== 'production'

export default new Vuex.Store({
  actions,
  getters,
  modules: { 
    getUser,
    Domain,
    Customer, 
    SwitchManage,
    Header, 
  },
  strict: debug
})
